import request from "@/utils/request";
// /tournament-leaderboard/list
export const getTournamentLeaderboardList = (data) => {
	return request({
		url: `/tournament-leaderboard/list`,
		method: "GET",
		params: data
	});
};
// /tournament-leaderboard/create
export const createTournamentLeaderboard = (data) => {
	return request({
		url: `/tournament-leaderboard/create`,
		method: "POST",
		data
	});
};
// /tournament-leaderboard/delete/{id}
export const deleteTournamentLeaderboard = (id) => {
	return request({
		url: `/tournament-leaderboard/delete/${id}`,
		method: "get"
	});
};
// /tournament-teams/list
export const getTournamentTeamsList = (data) => {
	return request({
		url: `/tournament-teams/list`,
		method: "GET",
		params: data
	});
};
